Piwik\DataAccess\LogAggregator C

Total Complexity 124
Dependencies 22
Dependents 11
Total lines 1,144
Lines of code 532
Logical lines of code 286
Comment lines 390
Methods 37
Properties 9

Methods 37

Method Rating Maintainability Complexity Lines of code
generateQuery()
B
39 17 55
createTemporaryTable()
B
41 16 54
queryActionsByDimension()
A
43 10 45
getSelectDimensions()
A
53 10 22
queryVisitsByDimension()
A
47 8 34
getSelectsFromRangedColumn()
S
50 5 28
getDimensionsToSelect()
S
58 5 16
cleanup()
S
60 5 13
queryEcommerceItems()
S
43 1 61
getMetricsFromVisitByDimension()
S
59 4 14
makeArrayOneColumn()
S
61 4 12
queryConversionsByDimension()
S
53 3 21
getSelectsMetrics()
S
64 3 10
isMetricRequested()
S
66 3 9
isFieldFunctionOrComplexExpression()
S
74 2 4
getWhereStatement()
S
63 2 10
prefixColumn()
S
68 2 7
getSelectStatement()
S
63 2 10
__construct()
S
64 2 9
isSegmentCacheEnabled()
S
67 2 8
doesSegmentTableExist()
S
65 2 9
getVisitsMetricFields()
S
60 1 13
getConversionsMetricFields()
S
61 1 12
setSites()
S
79 1 3
getSites()
S
82 1 3
getSegment()
S
82 1 3
setQueryOriginHint()
S
81 1 3
getActionsMetricFields()
S
68 1 7
getSegmentTmpTableName()
S
66 1 7
getGroupByStatement()
S
72 1 5
getGeneralQueryBindParams()
S
72 1 5
getSqlRevenue()
S
78 1 3
allowUsageSegmentCache()
S
81 1 3
getSelectAliasAs()
S
80 1 3
getLogTableProvider()
S
80 1 3
getSqlConversionRevenueSum()
S
77 1 3
getDb()
S
72 1 5